/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.gxarea.entity;

import javax.validation.constraints.NotNull;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 窗口表Entity
 * @author azj
 * @version 2024-09-26
 */
public class Counter extends DataEntity<Counter> {
	
	private static final long serialVersionUID = 1L;
	private String countermanger;		// 窗口部门
	private Community areaid;		// 点位映射id 父类
	private Integer counternumber;		// 窗口号
	private String counternumbername;		// 窗口别名
	private String number;		// 当前办理号码
	private String status;		// 窗口状态
	private String userid;		// 窗口办理人员
	private String max;		// 评价器Max
	
	public Counter() {
		super();
	}

	public Counter(String id){
		super(id);
	}

	public Counter(Community areaid){
		this.areaid = areaid;
	}

	@ExcelField(title="窗口部门", align=2, sort=1)
	public String getCountermanger() {
		return countermanger;
	}

	public void setCountermanger(String countermanger) {
		this.countermanger = countermanger;
	}
	
	public Community getAreaid() {
		return areaid;
	}

	public void setAreaid(Community areaid) {
		this.areaid = areaid;
	}
	
	@NotNull(message="窗口号不能为空")
	@ExcelField(title="窗口号", align=2, sort=3)
	public Integer getCounternumber() {
		return counternumber;
	}

	public void setCounternumber(Integer counternumber) {
		this.counternumber = counternumber;
	}
	
	@ExcelField(title="窗口别名", align=2, sort=4)
	public String getCounternumbername() {
		return counternumbername;
	}

	public void setCounternumbername(String counternumbername) {
		this.counternumbername = counternumbername;
	}
	
	@ExcelField(title="当前办理号码", align=2, sort=5)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="窗口状态", dictType="countertype", align=2, sort=6)
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@ExcelField(title="窗口办理人员", fieldType=String.class, value="", align=2, sort=7)
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@ExcelField(title="评价器Max", align=2, sort=8)
	public String getMax() {
		return max;
	}

	public void setMax(String max) {
		this.max = max;
	}
	
}